-- GENERATED SPELL FOR [Black Slime] --


function spell0_1030(pUnit, Event) --@Dark Sludge,n/a--
pUnit:FullCastSpellOnTarget(3335,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1030', 5000, 1)
end

function Sorts_1030(pUnit, Event)
local choix_sorts_1030 = math.random(0, 0)
if choix_sorts_1030 == 0 then
pUnit:RegisterEvent('spell0_1030', 1, 1)
end
end

function mob1030_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1030', math.random(1500, 3000), 1)
end

function mob1030_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1030_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1030_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1030, 1, 'mob1030_Action')
RegisterUnitEvent(1030, 2, 'mob1030_Leave')
RegisterUnitEvent(1030, 3, 'mob1030_Kill')
RegisterUnitEvent(1030, 4, 'mob1030_Die')
